Repository navigation
feat(pm-stack): Trends: merged, features by project, issues and tasks by day, read by Cloudflare - #14422
Merged
Conversation
…, by day, read by Cloudflare
A Trends screen: pull requests merged by kind, features merged by
project with the features themselves, issues and bugs opened against
closed, the time from opened to merged, and tasks finished, over 7, 14,
30 or 90 days, each set against the same time before.
Whoever serves the app reads it: GitHub's history a page at a time
("everything changed since"), kept by day in its own storage and kept
up from where it stopped; the queue's finished tasks by one indexed
read. No machine is asked. Cloudflare's own clock reads the history on
while somebody looks at the screen.
Charts are a small kit any screen can use (public/charts.js), and
Trends is the first page that is a module of its own (public/pages).
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF
…st days are whole in minutes The history is read in stretches: the last day to the end of the list (and kept up from there for good), then three days back, a week, two weeks, a month, two months, ninety days, each up to where the one after it began. The screen says from which day on the counts are whole. A second in which more than a page changed is read a page at a time. Cloudflare's clock reads it on only while somebody looks at the screen (a day after it was last asked for, it no longer wakes for it). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF
…ose are whole; the record of it A total is set against the days before only once those have been read, and says "of what is read so far" while its own window is still coming in. A rise of three times or more is said as so many times. Scales sit closer above the tallest mark. README, design record and roadmap row. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 11 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
…omes in The screen waited for three more pages of GitHub at every opening until the history was whole. It waits now only for the first reading, for one look at what changed once the history is whole, and on refresh; in between it answers at once and the rest is read behind it (Cloudflare's clock, or after the answer on a machine). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF
This was referenced Nov 24, 2026
Open
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
More → Trends: what got done, by day, over 7, 14, 30 or 90 days, each set against the same time before.
How it is read (no machine)
src/trends.ts, run by whoever serves the app (Cloudflare; a machine can too).Charts, and pages as modules
public/charts.js: stacked columns, lines and leading tiles for any screen. Its rules are at the top of the file and held by its tests: colour only says which series (six theme colours in a fixed order, validated for colour-vision differences against every theme's card colour, never the status colours), a legend for two or more, one scale, the day pointed at read out for every series, every chart's numbers as a table.public/pages/: a screen can be a file of its own. To add a page: its file, a line inpages/index.js, a line infiles.json; a test checks the three agree. Trends is the first.Checked
Generated by Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.